<!DOCTYPE html>
<html>
<head>
    <title>青岛二手车数据分析</title>
    <style>
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        .chart {
            margin: 20px 0;
            text-align: center;
        }
        img {
            max-width: 100%;
            height: auto;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }
        h1, h2 {
            text-align: center;
            color: #333;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>青岛二手车数据分析</h1>
        
        <div class="chart">
            <h2>车龄与里程数关系图</h2>
            <img src="{{ url_for('static', filename='images/' + scatter_img) }}" alt="车龄与里程数散点图">
        </div>
        
        <div class="chart">
            <h2>车型分布</h2>
            <img src="{{ url_for('static', filename='images/' + pie_img) }}" alt="车型分布饼图">
        </div>
    </div>
</body>
</html>